<!--
 * @Author       : xiangmin
 * @File         : iconfont的组件
-->
<template>
	<i :class="`iconfont iconfont-${name}`"></i>
</template>

<script lang="ts" setup>
type Name = 'car' | 'coupon' | 'home' | 'warn' | 'phone' | 'bear' | 'loading' | 'empty'
defineProps<{ name?: Name }>()
</script>

<style scoped>
i {
	font-style: normal;
	vertical-align: middle;
}
</style>
